export interface point {
    id?: number | string;
    backplate?: number; // 有无护板不能为空
    installPosition?: string; // 版位位置不能为空
    gateType?: string; // 门禁类型
    gatewayId?: number | string; // integer($int64)门体ID
    devId?: number; // 设配型号ID
    elevatorId?: number | string; // integer($int64电梯ID)
    status?: number; //	integer($int32)点位状态 4:可售,5:维护,6:拆除,7:预拆除
    commonwealFlag?: number; // nteger($int32)是否公益位不能为空
    floorId?: number | string; // 楼层ID
    company?: string; // 供应商
    fixReason: string; // 维护原因
    machineNum: string; // 媒体编码
    mediaSize: string; // 尺寸不能为空
    mediaState: number | string; // integer($int32)点位状态不能为空
    reReason: string; // 拆除原因
    subType: string; //	string($byte)
    tabooIndustry: any; //
    tabooIndustryList: any;
    floor:string;  //电梯外的楼层
    [key: string]: any;
}
export interface nameType {
    name: string;
    code: string;
}
export interface eleType {
    name: string;
    eleType: nameType;
    subType: nameType;
}
export class PointData {
    addPointDTO: Array<point> = [];
    ponitItem: Object = {};
    ponitNameAlias: eleType = { name: '', eleType: { name: '', code: '' }, subType: { name: '', code: '' } };
    addPonitObject: point = {
        code: '',
        fixReason: '',
        machineNum: '',
        mediaSize: '',
        mediaState: '',
        reReason: '',
        subType: '',
        tabooIndustry: '',
        tabooIndustryList: [],
        floor:''
    };
    alias: Object = {
        '1': '梯内屏',
        '2': '梯外屏',
        '3': '梯内框',
        '4': '梯外框',
        '5': '门禁',
        '6': '道闸',
    };
}
